WooCommerce\Square\Framework\PaymentGateway\PaymentTokens\Payment_Gateway_Payment_Tokens_Handler B

Total Complexity 95
Dependencies 8
Dependents 1
Total lines 843
Lines of code 287
Logical lines of code 176
Comment lines 369
Methods 25
Properties 3

Methods 25

Method Rating Maintainability Complexity Lines of code
get_tokens()
B
40 20 56
create_token()
A
44 14 42
remove_token()
A
51 9 25
set_default_token()
S
55 6 19
merge_token_data()
S
57 6 16
delete_token()
S
57 5 17
add_token()
S
60 4 13
user_has_token()
S
65 3 9
get_user_meta_name()
S
69 3 6
update_token()
S
63 3 10
get_token()
S
66 3 8
get_order_note()
S
61 2 13
get_transient_key()
S
66 2 7
update_tokens()
S
66 2 8
format_for_db()
S
68 2 7
should_tokenize()
S
77 2 3
get_environment_id()
S
82 1 3
__construct()
S
76 1 4
get_token_editor()
S
80 1 3
clear_transient()
S
80 1 3
get_merge_attributes()
S
78 1 3
tokenization_forced()
S
77 1 3
build_token()
S
79 1 3
should_delete_token()
S
82 1 3
get_gateway()
S
82 1 3